$j(".favorites-dropdown .dropdown-menu").replaceWith("<%= escape_javascript(render('layouts/favorites_dropdown')) %>");
$j(".sidebar .menu.favorites").html("<%= escape_javascript(render('layouts/sidebar_favorites')) %>");
